第4步:你将与使用邪恶巫师的“电脑”决斗!让我们为computer.
- 拖入另一个Integer Variable 。将其名称更改为computer_hp并将其值设置为100
- 拖入另一个Variable Display 。将其名称从my_display更改为computer_display 。
- 将变量my_var更改为computer_hp并将显示定位在 ( -150 , 200 )。
- 在下一个活动中,我们将开始使用这些函数并将它们链接在一起,从cast_spell()开始!
To navigate the page using the TAB key, first press ESC to exit the code editor.